Implementing a JavaTM Virtual Machine in the Java Programming Language

نویسنده

  • Antero Taivalsaari
چکیده

JavaInJava is a Java virtual machine written in the JavaTM programming language. The system was built at Sun Microsystems Laboratories in order to examine the feasibility of constructing high-quality virtual machines using the Java programming language and to experiment with new virtual machine implementation techniques. In this paper we describe the overall architecture of JavaInJava and summarize a number of interesting technical issues that were encountered during its implementation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Finding References in JavaTM Stacks

Exact garbage collection for the strongly-typed Java language may seem straightforward. Unfortunately, a single pair of bytecodes in the Java Virtual Machine instruction set presents an obstacle that has thus far not been discussed in the literature. We explain the problem, outline the space of possible solutions, and present a solution utilizing bytecode-preprocessing to enable exact garbage c...

متن کامل

The HotSpot Serviceability Agent: An Out-of-Process High-Level Debugger for a JavaTM Virtual Machine

The HotSpotTM Serviceability Agent (SA) is a set of APIs for the Java programming language which model the state of Sun Microsystems’ JavaTM HotSpot Virtual Machine. Unlike most previous debugging systems for dynamic languages which assume a “cooperative” model in which the target process runs code to assist in the debugging process, the SA requires no code to be run in the target VM. Instead, ...

متن کامل

Proposal for Extension of JavaTM Floating Point

Prompted by feedback from several partners in the industry, Sun is proposing a change to the specification of floating-point in the Java programming language. The current Java programming language and virtual machine specifications require that all single and double precision floating-point calculations must round their results to the IEEE 754 single and double precision formats, respectively. ...

متن کامل

A Type System for Object Initialization In the JavaTM Bytecode Language

In the standard Java implementation, a Java language program is compiled to Java bytecode and this bytecode is then interpreted by the Java Virtual Machine. Since bytecode may be written by hand, or corrupted during network transmission, the Java Virtual Machine contains a bytecode verifier that performs a number of consistency checks before code is interpreted. However, there is no formal spec...

متن کامل

Implementing Java in Internet Appliances

A core component of many Internet Appliances is the JavaTM Virtual Machine (JVM). The desired behavior of a JVM in an embedded device goes beyond the correct execution of Java programs. The JVM must operate robustly and predictably in the face of inevitable resource restrictions while minimizing interference with other native functionality inside the device. It must adapt smoothly to properties...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998